package com.jacklin.repository;

import com.jacklin.entity.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 订单主表 - DAO层
 * @Author:JackLin
 * @Create 2019/3/27 12:24
 */

public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {

    /**根据买家openid查询商品主表信息，并分页*/
    Page<OrderMaster> findByBuyerOpenid(String buyerOpenid, Pageable pageable);


}
